import IBulletinUserPageForm from '@/model/form/bulletin/IBulletinUserPageForm'
import IBulletinUserPageVO from '@/model/vo/bulletin/IBulletinUserPageVO'
import IPageVO from '@/model/vo/common/IPageVO'
import IResVO from '@/model/vo/common/IResVO'
import $http from '@/util/http'
import { AxiosResponse } from 'axios'

// 分页排序查询：当前用户可以查看的公告
export default function bulletinUserPageApi(form: IBulletinUserPageForm) {
  return $http.post<
    IResVO,
    AxiosResponse<IResVO<IPageVO<IBulletinUserPageVO>>>,
    IBulletinUserPageForm
  >('/bulletin/userPage', form)
}
